package com.cloud.test.ahs.cloud.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

/**
 * Hello world!
 */

@EnableZuulProxy
@SpringCloudApplication
public class AppZuul {
	public static void main(String[] args) {
		// new SpringApplicationBuilder(AppZuul.class).web(true).run(args);
		SpringApplication.run(AppZuul.class, args);
	}

	@Bean
	public AccessFilter accessFilter() {
		return new AccessFilter();
	}
	
	
}
